<template>
  <div class="global">
    <Header />
    <div class="app-cont">
      <Nuxt />
    </div>
    <BackTop />
    <!-- <Footer /> -->
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  // 设置head信息
  head() {
    return {
      link: [
        {
          rel: 'icon',
          type: 'image/x-icon',
          href:
            this.forums
            && this.forums.set_site
            && this.forums.set_site.site_favicon
        }
      ]
    };
  },
  computed: {
    forums() {
      return this.$store.state.site.info.attributes || {};
    }
  }
};
</script>
<style lang="scss" scoped>
.app-cont {
  display: flex;
  justify-content: center;
  margin: 15px auto 0;
  width: 1005px;
  /*IFTRUE_pay*/
  width:1340px;
  /*FITRUE_pay*/
  /* height: 706px; */
  min-height: calc(100vh - 500px - 80px - 15px);
  @media screen and (max-width: 1005px) {
    width: 100%;
    min-width: 168px;
    padding: 0 14px;
  }
}
</style>
